#ifndef OPERATOR_H
#define OPERATOR_H

#include <string>
using std::string;

#include "value.h"
#include "default.h"

class Operator
{
	public:
	static uint32 get( string, int32 = -1 );

	static Value fatorial( Value );
	static string execute( uint32, Value, Value );
	static string execute( string );

	enum
	{
		PLUS = 1,
		MINUS,
		MULT,
		DIV,
		EXP,
		SQRT,
		FAT,
		LOG,
		COS,
		SIN,
		TAN,
		MOD,
		EXPTEN,
	};
};

#endif
